package com.yf.ability.upload.providers.cos.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * COS授权响应类
 * @author van
 */
@Data
@ApiModel(value="COS授权响应类", description="COS授权响应类")
public class CosTokenDTO implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "上传地址", required=true)
    private String host;

    @ApiModelProperty(value = "访问地址", required=true)
    private String url;

    @ApiModelProperty(value = "容器名称", required=true)
    private String bucket;

    @ApiModelProperty(value = "区域", required=true)
    private String region;

    @ApiModelProperty(value = "区域", required=true)
    private String sessionToken;

    @ApiModelProperty(value = "区域", required=true)
    private String tmpSecretId;

    @ApiModelProperty(value = "区域", required=true)
    private String tmpSecretKey;



}
